/* 
 * File:   StreamOperationFactroy.h
 * Author: hao
 *
 * Created on 2011年4月14日, 下午8:36
 */

#ifndef STREAMOPERATIONFACTROY_H
#define	STREAMOPERATIONFACTROY_H

#include <vector>
#include "StreamOperationCore.h"

using std::vector;

class StreamOperationFactroy {
public:
    StreamOperationFactroy();

    int addOperationPlugin( const char * path );

    void Destroy();

    StreamOperationPlugin * getOperationPlugin( unsigned index );
    
    virtual ~StreamOperationFactroy();
private:
    StreamOperationFactroy(const StreamOperationFactroy&){}
    vector< StreamOperationPlugin * > OperationVector;

};

#endif	/* STREAMOPERATIONFACTROY_H */

